package com.xinsoft.mapper;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.xinsoft.entity.po.SysWarehouse;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author lijie
* @description 针对表【sys_warehouse(仓库)】的数据库操作Mapper
* @createDate 2023-05-24 10:27:21
* @Entity com.xinsoft.entity.po.SysWarehouse
*/
public interface SysWarehouseMapper extends BaseMapper<SysWarehouse> {

    IPage<SysWarehouse> selectPageInfo(Page<SysWarehouse> page, @Param(Constants.WRAPPER) LambdaQueryWrapper<SysWarehouse> queryWrapper);

    void insertOrUpdateBatch(List<SysWarehouse> sysWarehouseList);
}




